package cn.tedu.charging.order.feign;

import cn.tedu.charging.common.protocol.JsonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("charging-service-device")
public interface DeviceClient {

    @PostMapping("/device/gun/check")
     JsonResult<Boolean> checkGun(@RequestParam("gunId") Integer gunId);
}
